<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<h:outputScript library="primefaces" name="jquery/jquery.js" />
</h:head>
<body>
	into
	<h:form>
		<p>
			<h:outputText value="sessionScope['myBean'] = " />
			<h:outputText value="#{sessionScope['myBean']}" />
		</p>
		
		
		
		<p>
			<h:outputText value="sessionScope['uploadFile'] = " />
			<h:outputText value="#{sessionScope['uploadFile']}" />
		</p>
		
		
		<!--error expression  
		<p>
			<h:outputText value="param['foo'] = " />
			<h:outputText value="#{param['foo']}" />
		</p>
		<p>
			<h:outputText value="request.getParameter('foo') = " />
			<h:outputText value="#{request.getParameter('foo')}" />
		</p>
		<p>
			<h:outputText value="requestScope.foo = " />
			<h:outputText value="#{requestScope.foo}" />
		</p>
		 -->

		<p>
			<h:outputText value="request.getAttribute('foo') = " />
			<h:outputText value="#{request.getAttribute('foo')}" />
		</p>

		<p>

			<h:outputText value="requestScope['foo'] = " />
			<h:outputText value="#{requestScope['foo']}" />
		</p>
	</h:form>
</body>
</html>
